<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <f:view id="wc">
        <h:head>
            <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/css/cabecalho.css" />
            <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/css/login.css" />
            <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/css/principal.css" />
            <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/css/iconmenu.css" />
            <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/css/shCoreDefault.css" />
            <script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/js/js.js" />
            <link rel="shortcut icon" href="#{facesContext.externalContext.requestContextPath}/resources/img/favicon.ico" type="image/x-icon" />
            <title>
                <ui:insert name="title">
                    <h:outputText value="#{msg.loginTitleTemplate}"/>
                </ui:insert>
            </title>
        </h:head>

        <h:body style="background: #ffffff url('#{facesContext.externalContext.requestContextPath}/resources/img/barrasuperior.png') repeat-x top;"
                onload="infIE('infmsg')">
            <f:view>
                <ui:insert name="header">
                    <h:panelGroup id="logo" styleClass="logoClass">
                        <h:graphicImage library="img" name="logo2.png"/>
                    </h:panelGroup>
                </ui:insert>
                <div class="todoConteudo">
                    <ui:insert name="conteudo">
                        <div class="red">
                            Insira conteúdo aqui...
                        </div>
                    </ui:insert>
                </div>
               
                <h:form id="pollform">
                     <p:poll interval="1500" listener="#{fluxoExibicaoLogin.exibirLogin()}" update="pollform" /> 
                </h:form>
            </f:view>
        </h:body>
    </f:view>
</html>
